.header {
  width: 570px;
  height: 4.8rem;
  position: fixed;
  top: 0;
  margin-top: 0;
  padding-top: .6rem;
  border-bottom: 1px solid #dadada;
  background-color: white;
  z-index: 100;
}

.search {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.3rem;
  margin: 0 1rem;
  padding: 0 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.9rem;
  color: #a0a0a0;
  background-color: #dadada;
}

.search-input {
  flex: 1;
  text-align: center;
  margin: 0;
  padding: 0;
}

.camera {
  width: 1.8rem;
}

.type {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
}

.type-item {
  flex: 1;
  text-align: center;
  margin: 0.5rem 1rem;
  height: 100%;
  line-height: 2.5rem;
}

.active {
  border-bottom: 2px solid #ff6600;
}

@media screen and (max-width: 768px) {
  .header {
    width: 100%;
  }
}
